<template>
  <div class="yello">
    {{ msg }}
  </div>
</template>

<script lang="ts" setup>
import axios from 'axios';
import { ref } from 'vue'

let msg = ref('')
let { data } = await axios.get('https://dog.ceo/api/breeds/image/random')
msg.value = data.message
</script>

<style lang="scss" scoped>
.yello {
  background: orange;
}
</style>